
public class Answer {

	private Integer agentId;
	private AnswerType type;
	private String variable;
	
	public Answer() {
		agentId = -1;
		type = AnswerType.LIKE;
		variable = "";
	}
	
	
	public Integer getAgentId() {
		return agentId;
	}
	public void setAgentId(Integer agentId) {
		this.agentId = agentId;
	}
	public AnswerType getType() {
		return type;
	}
	public void setType(AnswerType type) {
		this.type = type;
	}
	public String getVariable() {
		return variable;
	}
	public void setVariable(String variable) {
		this.variable = variable;
	}
	
	public String getDisplayableString() {
		return Global.agents.get(agentId).getAgentname() + " " 
				+ type.getPhrasing() + " "
				+ variable;
	}
}
